Skip to content

fix(plugin): align marketplace.json with Cursor schema - #2

Merged
agentstacktech merged 1 commit into
masterfrom
fix/marketplace-manifest
Nov 28, 2026
Merged

agentstacktech merged 1 commit into
masterfrom
fix/marketplace-manifest

Conversation

@agentstacktech

Copy link
Copy Markdown
Owner

Summary

Cursor install from GitHub (Add marketplace → https://github.com/agentstacktech/cursor-plugin) was failing with a marketplace.json / manifest validation error.

Root cause: official Cursor marketplace schema (cursor/plugins schemas/marketplace.schema.json) sets additionalProperties: false on each plugins[] entry and allows only name, source, description, and minClientVersions. Our repo .cursor-plugin/marketplace.json also had version, author, homepage, repository, license, keywords, logo, and category on the AgentStack entry. Cursor rejects that with marketplace.json schema validation failed: /plugins/0: must NOT have additional properties.

Those fields already belong in plugins/agentstack/.cursor-plugin/plugin.json (where the official plugin schema allows them). Local CI did not catch this because validate-plugin.mjs only checked name, source, and path resolution.

The latest Validate plugin runs on master were already green after later CI-only fixes; this PR fixes the install-time schema mismatch that CI was not checking.

  • Philosophy gate (Creation / Minimalism / live catalog — no hard-coded action counts)
  • CHANGELOG section matches plugins/agentstack/.cursor-plugin/plugin.json version (0.5.0)
  • plugin.json has URL-only mcpServers: "./mcp.json" — no Bearer placeholder
  • audit-cursor-plugin.mjs / sync-plugin-kernel.mjs --check are monorepo gates (not run in this public repo)

Changes

  • Slim .cursor-plugin/marketplace.json plugin entry to name, source, description. metadata.version (0.5.0) and metadata.pluginRoot (plugins) are unchanged. MCP endpoint remains https://agentstack.tech/mcp.
  • Move category: "Productivity" into plugins/agentstack/.cursor-plugin/plugin.json.
  • Teach scripts/validate-plugin.mjs to reject extra marketplace root, owner, and plugin-entry fields so CI fails the same way Cursor install does.
  • Document the fix under Changelog [0.5.0].

Test plan

  • node scripts/validate-plugin.mjs (exit 0)
  • node scripts/ci-validate.mjs (exit 0; includes hooks contract + intent eval)
  • Lightweight check against official marketplace.schema.json / plugin.schema.json (additionalProperties + required fields)
  • node scripts/verify-mcp-surface-e2e.mjs not required (MCP / auth untouched)
  • Local symlink smoke not required (hooks/auth untouched)
  • After merge: reinstall from GitHub in Cursor (see below)

How to install in Cursor (after merge)

  1. Cursor → Settings → Plugins → Add marketplace → https://github.com/agentstacktech/cursor-plugin
  2. Install AgentStack → Reload Window
  3. In chat: /agentstack-init (Device Code at https://agentstack.tech/activate)

If a previous add failed, remove the broken marketplace/plugin entry first, then add the repo again so Cursor re-reads marketplace.json from master.

Cursor GitHub / Add marketplace install validates
.cursor-plugin/marketplace.json with additionalProperties: false
on plugin entries. Extra fields (version, author, keywords, logo,
category, …) caused the install error. Keep those in plugin.json
and reject them in validate-plugin.mjs.
@agentstacktech
agentstacktech merged commit 8dd2049 into master Nov 28, 2026
1 check passed
@agentstacktech
agentstacktech deleted the fix/marketplace-manifest branch November 28, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant